package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.Action;

public interface ActionMapper {

	public int deleteActionById(long id);

	public Action selectActionById(long id);

	public List<Action> selectActionByMap(Map<String,Object> map);

	public List<Action> selectAction(Action action);

	public List<Action> selectAllAction();

	public int insertAction(Action action);

	public int updateAction(Action action);

	public int deleteAction(Action action);

	public int updateActionByMap(Map<String,Object> map);

	public int deleteActionByMap(Map<String,Object> map);
	public int getAllActionCounts();
	public int getActionCounts(Action action);
	public int getActionCountsByMap(Map<String,Object> map);
}
